package com.xiaoergekeji.cloud.devops.scheduler.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @program: xeg-cloud
 * @description:
 * @author: ArchieDing
 * @create: 2021-05-19 23:12
 **/
@Data
public class JobDTO implements Serializable {
    @ApiModelProperty(value = "任务名称")
    private String jobName;

    @ApiModelProperty(value = "任务描述")
    private String description;

    @ApiModelProperty(value = "执行器类型")
    private String executorType;

    @ApiModelProperty(value = "触发类型")
    private String triggerType;

    @ApiModelProperty(value = "cron表达式")
    private String cronExpression;

    @ApiModelProperty(value = "开始时间")
    private Long startTime;

    @ApiModelProperty(value = "结束时间")
    private Long endTime;

    @ApiModelProperty(value = "重复间隔")
    private Long repeatInterval;

    @ApiModelProperty(value = "重复次数")
    private Integer repeatCount;

    @ApiModelProperty(value = "服务名称")
    private String serviceId;

    @ApiModelProperty(value = "请求路径")
    private String path;

    @ApiModelProperty(value = "请求方式")
    private String method;

    @ApiModelProperty(value = "请求参数")
    private String jsonArgs;

    @ApiModelProperty(value = "响应类型")
    private String contentType;
}
